// 1.引用mockjs
let Mock=require("mockjs")
// 2.配置
// Mock.mock("模拟数据地址","方式get/post",require("你的json数据"))
Mock.mock("/data/paihang","get",require("./paihang.json"))
Mock.mock("/data/fenlei","get",require("./fenlei.json"))
Mock.mock("/data/home","get",require("./home.json"))
Mock.mock("/data/sou","get",require("./sou.json"))